// 加载 mongoose 工具模块
var mongoose = require('mongoose')
var MovieSchema = require('../schemas/movie')
// 编译 movie 模型
var Movie = mongoose.model('Movie', MovieSchema)
module.exports = Movie